﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace NetCore6WebAPITestOneEntity
{
    [XmlRoot("SalesTable")]
    public class SalesTableModel
    {
        public SalesTableModel()
        {
            SalesLine = new SalesLineModel();
        }

        [XmlElement("DeliveryDate",typeof(DateTime))]
        public DateTime DeliveryDate { get; set; }

        //public   { get; set; }

        [XmlElement("DeliveryName")]
        public string DeliveryName { get; set; }

        [XmlElement("DeliveryStreet")]
        public string DeliveryStreet { get; set; }

        [XmlElement("DeliveryZipCode")]
        public string DeliveryZipCode { get; set; }

        [XmlElement("PostingProfile")]
        public string PostingProfile { get; set; }

        [XmlElement("ReceiptDateRequested")]
        public string ReceiptDateRequested { get; set; }

        [XmlElement("totalBalance")]
        public string TotalBalance { get; set; }

        [XmlElement("SalesLine")]
        public SalesLineModel SalesLine { get; set; }
    }
}
